import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
   {
    path:"/",
    redirect:"/Home"
   },
   {
    path:"/Home",
    component:()=>import("../views/Home.vue")
   },
   {
    path:"/Classify",
    component:()=>import("../views/Classify.vue")
   },
   {
    path:"/Shoppingcar",
    component:()=>import("../views/Shoppingcar.vue")
   },
   {
    path:"/My",
    component:()=>import("../views/My.vue")
   },
  ]
})

export default router
